<?php
/**
 * @package WordPress
 * @subpackage APrints_Theme
 */
/*
Template Name: Archives
*/
?>
<?php get_header(); ?>
<div id="content" >
    <h2>Browse by date</h2>
    <?php if(!function_exists("ap_get_archives")):?>
    <ul>
        <?php wp_get_archives('type=monthly'); ?>
    </ul>
    <?php else: ?>
    	<?php ap_get_archives(); ?>
    <?php endif;?>
 </div>
<?php get_footer(); ?>
